<script src="/kissy/build/seed-debug.js"></script>
<script src="/kissy/src/package.js"></script>
<script>
    KISSY.config('packages', {
        'templates': {
            base: './'
        }
    });
    KISSY.use('templates/a-xtpl,xtemplate/runtime', function (S, A, XTemplate) {
        alert(new XTemplate(A,{
            name:'templates/a-xtpl'
        }).render());
    });
</script>